package Application.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "OTHER-SERVICE")
public interface OtherServiceClient {
    @RequestMapping(value = "/list",method = RequestMethod.GET)
   String list();
}
